package com.gang.mars.basic.reflection;

public class Cat3 {

    private String name;

    private  int Number;

    private int age;


    public Cat3() {
    }

    public Cat3(String name, int number, int age) {
        this.name = name;
        Number = number;
        this.age = age;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return Number;
    }

    public void setNumber(int number) {
        Number = number;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void say(){
        System.out.println("小猫：喵喵叫...");
    }

    public void  say(String name){
        System.out.println(name + "小猫：喵喵叫...");
    }

}
